<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page language="java" import="java.util.*"%>
<jsp:useBean id="pageBean" scope="request" class="com.agileai.hotweb.domain.PageBean"/>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>日报记录</title>
<%@include file="/jsp/inc/resource.inc.jsp"%>
<script language="javascript">
function queryDayWork(){
	var startTime=$('#START_TIME').val();
	var endTime=$('#END_TIME').val();
	var content=$('#CONTENT').val();
	parent.queryDayWorks(startTime,endTime,content);
	parent.PopupBox.closeCurrent();
}
	
function saveDisplayCount(){
	var DISPLAY_COUNT =$('#DISPLAY_COUNT').val();
	/* doSubmit({actionType:'saveDisplayCount'}); */
	parent.saveDisplayCount(DISPLAY_COUNT);
	parent.PopupBox.closeCurrent();
}

function exportWordFile(){
	parent.exportWordFile();
}
function exportPdfFile(){
	parent.exportPdfFile();
}
</script>
</head>
<body>
<form action="<%=pageBean.getHandlerURL()%>" name="form1" id="form1" method="post">
		<%@include file="/jsp/inc/message.inc.jsp"%>
<div id="__ParamBar__" style="float: right;">&nbsp;</div>
<div id="__ToolBar__">
<table border="0" cellpadding="0" cellspacing="1">
</table>
</div>
<table class="detailTable" cellspacing="0" cellpadding="0" id="msgTable">
<tr>
	<th width="100" nowrap>展示记录数</th>
<td><input id="DISPLAY_COUNT" label="展示记录数" name="DISPLAY_COUNT" type="text" value="<%=pageBean.inputDate("DISPLAY_COUNT")%>"  size="24" class="text" />
</td>
</tr>
</table>
<table>
<tr>
<td style="padding-left:70px">
&nbsp;&nbsp;
<input  type="button" name="button" id="button" value="保 存" class="formbutton" onclick="saveDisplayCount()" />
</td>
<td>
&nbsp;&nbsp;
<input style="left: 500px" type="button" name="button" id="button" value="关 闭" class="formbutton" onclick="parent.PopupBox.closeCurrent()" />
</td>
<td >
&nbsp;&nbsp;
<input  type="button" name="button" id="button" value="导出word" class="formbutton" onclick="exportWordFile()" />
&nbsp;&nbsp;
<input  type="button" name="button" id="button" value="导出PDF" class="formbutton" onclick="exportPdfFile()" />
</td>
</tr>
</table>
&nbsp;&nbsp;

<input type="hidden" name="actionType" id="actionType" value=""/>
<input type="hidden" name="operaType" id="operaType" value="<%=pageBean.getOperaType()%>"/>
<input type="hidden" id="TW_ID" name="TW_ID" value="<%=pageBean.inputValue4DetailOrUpdate("TW_ID","")%>" />
<input type="hidden" id="NOTE_ID" name="NOTE_ID" value="<%=pageBean.inputValue4DetailOrUpdate("NOTE_ID","")%>" />
<input id="USER_ID" name="USER_ID" type="hidden" value="<%=pageBean.inputValue("USER_ID")%>" size="24" class="text" />
</form>
<script language="javascript">

initDetailOpertionImage();
</script>
</body>
</html>
<%@include file="/jsp/inc/scripts.inc.jsp"%>
